package com.bcu.wish.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

@ApiModel(value="com-bcu-wish-entity-Time")
@Data
@NoArgsConstructor
public class Time {
    /**
    * 时间id
    */
    @ApiModelProperty(value="时间id")
    private Integer timeId;

    /**
    * 时间名称
    */
    @ApiModelProperty(value="时间名称")
    private String timeName;

    /**
    * 时间
    */
    @ApiModelProperty(value="时间读取这个")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date timeLimittime;

    @ApiModelProperty(value="时间传入这个")
    private String timeLimittimetostring;
}